package edu.nps.sats.domain

class FlightInstance {
	Flight flight;
	FlightStatus flightStatus;
	Airplane airplane;
	Date scheduledDepartureTime;
	Date scheduledArrivalTime;
	Date departureTime;
	Date arrivalTime;
	static hasMany = [ reservationSet : Reservation]

    static constraints = {
		arrivalTime(blank : true)
		departureTime(blank : true)
    }
}
